Skip to content

Fix ui jitter during remote server initialization#9342

Open
MaggieShan wants to merge 1 commit intomasterfrom
maggs/fix-remote-server-init-ui-jitter
Open

Fix ui jitter during remote server initialization#9342
MaggieShan wants to merge 1 commit intomasterfrom
maggs/fix-remote-server-init-ui-jitter

Conversation

@MaggieShan
Copy link
Copy Markdown

@MaggieShan MaggieShan commented Apr 28, 2026

Description

  • Fixes APP-4307
  • The issue: during the initialization flow there would be significant ui jitter where the entire blocklist is moving up and down - this is because there is a gap between when the command/init shell finishes and when we render the loading footer (which looks like the output grid cursor appearing, then disappearing, then the loading footer appearing)
  • The fix is to render the footer as we're checking for if the binary is installed so that there is no gap for when the cursor disappears and the loading footer appears
    • The original reason this was done was to ensure that the loading footer didn't appear before or with the choice block - I've updated it to have an explicit check instead
  • This also updates where we're handling RemoteServerSetupStateChanged such that session is able to handle and update itself, and the terminal view is only in charge of rerendering the footer

Testing

https://www.loom.com/share/d4f157b4afd94f648f61ab1afbcee249

Agent Mode

  • Warp Agent Mode - This PR was created via Warp's AI Agent Mode

@cla-bot cla-bot Bot added the cla-signed label Apr 28, 2026
@MaggieShan MaggieShan requested a review from kevinyang372 April 28, 2026 23:40
@oz-for-oss
Copy link
Copy Markdown

oz-for-oss Bot commented Apr 28, 2026

@MaggieShan

I'm starting a first review of this pull request.

You can follow along in the session on Warp.

I completed the review and posted feedback on this pull request.

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

Copy link
Copy Markdown

@oz-for-oss oz-for-oss Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overview

This PR reroutes remote-server setup state updates through the Sessions model and updates the terminal view so the SSH remote-server loading footer can render during the binary-check phase.

Concerns

  • The footer now treats Checking as an in-progress state, but several fallback paths abandon remote-server setup without clearing or terminalizing that stored state, so the input can stay hidden behind a stale Checking... footer while normal SSH bootstrap proceeds or hangs.

Verdict

Found: 0 critical, 1 important, 0 suggestions

Request changes

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

Comment thread app/src/terminal/view.rs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants